const newsModel = require('../models/news.js')

exports.lunbo = async (req, res, next) => {
    try {
        const lunbo = await newsModel.getLunbo
        res.status(200).json(lunbo)
    } catch (err) {
        next(err)
    }
}